﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using DataAccessLayer.Entity;
using DataAccessLayer.Adapter;
using BussinessLayer;
using System.Data;
namespace BussinessLayer
{
    public class NhanVienBussiness
    {
        NhanVienAdapter nhanVienAdapter = new NhanVienAdapter();
        //DataTable dt;
        public DataTable LoadNV()
        {
            return nhanVienAdapter.LoadNV();
        }
        public void ThemNV(clsNhanVien clsNV)
        {
            nhanVienAdapter.ThemNV(clsNV);
        }
        public void SuaNV(clsNhanVien clsNV)
        {
            nhanVienAdapter.SuaNV(clsNV);
        }
        public void XoaNV(clsNhanVien clsNV)
        {
            nhanVienAdapter.XoaNV(clsNV);
        }
        public string MaTuTang()
        {
            return nhanVienAdapter.MaTuTang();
        }
    }
}
